tint
The tint property overrides the default accent color for a specific view using a given style. Unlike the global app accent color (which may be modified by user settings), tint is always respected and should be used to convey semantic meaning or visual emphasis at the component level.
Definition
Supported Values
ShapeStyle: A solid color, gradient, or material.DynamicShapeStyle: A color or gradient that adapts to light/dark mode.
Common Use Cases
- Apply a local accent color to controls like
Toggle,Slider,Button, orProgressView. - Visually differentiate elements in lists, forms, or modal components.
- Ensure consistent behavior regardless of system or user theme overrides.
